<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
    <title>Cae软件信息</title>
    <style>
    a{ 
    	display:block;
    	text-decoration:none;
    }
    </style>
  </head>
  
  <body>
	<table border="1" style="width:100%">
		<tbody>
			<tr style="height:50px;background-color:SkyBlue;border:0" >
				<th colspan="11" style="text-align:center;font-size:25px"><b>Cae软件信息</b></th>
			</tr>
			<tr style="text-align:center;height:50px;background-color:LightBlue;border:0" >
				<td style="width:4%;">序号</td>
				<td style="width:17%;">软件名称</td>
				<td style="width:14%;">许可IP</td>
				<td style="width:15%;">网卡地址</td>
				<td style="width:12%;">机器名</td>
				<td style="width:5%;">端口号</td>
				<td style="width:8%;">许可文件</td>
				<td style="width:7%;">许可有效期</td>
				<td style="width:6%;">修改</td>
				<td style="width:6%;">删除</td>
				<td style="width:6%;">下载</td>
				
			</tr>
			<tr th:each="cae:${caes}" style="text-align:center;border:0">
						<td th:text=${cae.id}></td>
						<td th:text=${cae.software}></td>
						<td th:text=${cae.ip}></td>
						<td th:text=${cae.address}></td>
						<td th:text=${cae.server}></td>
						<td th:text=${cae.port}></td>
						<td th:text=${cae.license}></td>
						<td th:text=${cae.date}></td>
						<td><a th:href="@{/uploadEdit(id=${cae.id})}">编辑</a></td>
						<td><a th:href="@{/toDelete(id=${cae.id})}">删除</a></td>
						<td><a th:href="@{/download(license=${cae.license})}">下载</a></td>
			</tr>
			<tr style="height:40px;background-color:WhiteSmoke;border:0" >
				<td colspan="11" style="text-align:right;">
					<a th:href="@{/uploadAdd}" style="margin-right:10px;"><b>添加软件</b></a>
				</td>
			</tr>
		</tbody>
	</table>
  </body>
</html>
